#include <stdio.h>
#include <stdlib.h>

void test()
{
	int* p = (int*)malloc(100);
	if (p == NULL)
	{
		perror("malloc");
		exit(1);
	}
	*p = 20;
}

int main()
{
	test();
	int arr[100] = { 0 };
	int i = 0;
	for (i = 0; i < 100; i++)
	{
		arr[i] = i;
	}
	return 0;
}